package com.zxh.blog.service;


import com.zxh.blog.domain.Permission;
import com.zxh.blog.domain.Role;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PermissionService {
    List<Permission> findPermissionsByRoleId(Role role);

	List<Permission> selectByList();

	Integer addPermission(Permission permission);

	void updatePermission(Permission permission);

	void deleteByIds(int[] ids);
}
